import BaseApi from "../utils/http";

/**
 * 划价单缴费
 */
export default class getPrenosInfo extends BaseApi{
    hospitalCode;
    registerFlow;
    userId;
    //病历号(5009)时 用patientId 其他情况用 cardNo
    patientId;
    cardNo;

    cardNoType;
    typeId;//0:查询未缴费  1或者空：查询所有 2：查询已缴费

    constructor(hospitalCode, registerFlow,userId,cardNo,cardNoType,typeId) {
        super();
        this.hospitalCode = hospitalCode;
        this.registerFlow = registerFlow;
        this.userId = userId;
        if(cardNoType == "5009"){
            this.patientId = cardNo;
        }else{
            this.cardNo = cardNo;
        }
        this.cardNoType = cardNoType;
        this.typeId = typeId;
    }
    getParamMethod(){
        return "getPrenosInfo";
    }
}